package com.ruoyi.edh.domain.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @version :
 * @program: easyBuy
 * @description: 微店商品model
 * @author: 周爱鸿
 * @create: 2020-09-04 17:08
 **/
@ApiModel("微店商品model")
@Data
public class EdhMicroshopGoodsModel {

	@ApiModelProperty("微店商品id")
	@NotNull(message = "微店商品id不能为空")
	private Long id ;

	@ApiModelProperty("是否上架 0否1是")
	private Integer onSale ;

	@ApiModelProperty("排序 置顶为0")
	private Integer sort ;


}
